package com.chinaunicom.product.domain.repository;

import com.chinaunicom.product.domain.model.entity.ProductSkuEntity;
import com.chinaunicom.product.domain.model.query.ProductSpuQuery;

import java.util.List;

/**
 * @author guomenghuai
 * @date 2024/1/10
 * @Description
 */
public interface IProductRepository {
    List<ProductSkuEntity> queryProductList(ProductSpuQuery query);

    ProductSkuEntity queryProductById(ProductSpuQuery query);

    List<ProductSkuEntity> queryListProductSkuByCode(List<String> skuCodeList, String sellerId);

    void saveProduct(ProductSkuEntity productSkuEntity);
}
